import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import request from "@/utils/request";

import  './assets/gloable.css'
import axios from 'axios'
Vue.prototype.axios = axios;

axios.defaults.baseURL = 'http://localhost:8080' /*配置前缀URL*/

Vue.prototype.$axios = axios

Vue.prototype.request = request

Vue.use(ElementUI,{ size: "mini" });
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
